project( test )
find_package( OpenCV REQUIRED )
add_executable( test test.cpp )
add_executable( test2 test2.cpp )
add_executable( test3 test3.cpp )
add_executable( ranker ranker.cpp )
add_executable( fastranker fastranker.cpp )
add_executable( affine affine.cpp )
add_executable( pp_ranker_dft pp_ranker_dft.cpp )
target_link_libraries( test ${OpenCV_LIBS} )
target_link_libraries( test2 ${OpenCV_LIBS} )
target_link_libraries( test3 ${OpenCV_LIBS} )
target_link_libraries( ranker ${OpenCV_LIBS} )
target_link_libraries( fastranker ${OpenCV_LIBS} )
target_link_libraries( affine ${OpenCV_LIBS} )
target_link_libraries( pp_ranker_dft ${OpenCV_LIBS} fftw3)

